package com.cloud.business.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cloud.business.entity.Account_businessInfo;
import com.cloud.commonapi.model.Business_info;
import com.cloud.commonapi.model.Business_order;

import java.util.List;

/**
 * author : 黄永佳
 * create : 2019/9/26 0026 9:39
 * modified :
 * 功能 :
 **/
public interface businessService {
     int insertBusiness(Business_info business_info);
     Account_businessInfo selectById(int id);
     List<Account_businessInfo> findAll();
     List<Account_businessInfo> findByKeyword(String keyword);
     Business_info findByOrder(int id);
     int deleteById(int id);
     int update(Business_info business_info);
     List<Account_businessInfo> selectByAccountId(int accountId);
     IPage<Account_businessInfo> selectPage(Account_businessInfo account_businessInfo,int page,int pageSize);
     List<Business_info> selectByOrder(int accountId);
}
